home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 2001 May
/
SGI Freeware 2001 May - Disc 2.iso
/
dist
/
fw_urt.idb
/
usr
/
freeware
/
bin
/
rlesize.z
/
rlesize
Wrap
Text File
|
1999-01-26
|
307b
|
7 lines
#! /bin/csh -f
# This plucks the size information from the output of the rlehdr program
# and prints it in program readable format. Useful for:
# rlebg 255 255 255 -s `rlesize < foo.rle`
# It should probably be an option to rlebox.
rlehdr | sed -n -e "s/^.*size (\([0-9][0-9]*\), \([0-9][0-9]*\))/\1 \2/p"